package com.reliable.service.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户推送配置对象 xss_user_notification_config
 *
 * @author ruoyi
 * @date 2025-07-09
 */
@Data
@ApiModel(value = "用户推送配置对象")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReliableUserNotificationConfig extends BaseEntitys {
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID", position = 0)
    private Long id;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", position = 1)
    private Long userId;

    /**
     * 推送类型（1.dingtalk, 2.feishu, 3.email）
     */
    @ApiModelProperty(value = "推送类型（1.dingtalk, 2.feishu, 3.email）", position = 2)
    private Integer notifyType;

    /**
     * 配置名称（可选，比如“工作群机器人”，‘’个人邮箱‘’）
     */
    @ApiModelProperty(value = "配置名称（可选，比如“工作群机器人”，‘’个人邮箱‘’）", position = 3)
    private String notifyName;

    /**
     * webhook（秘钥） 或邮箱地址
     */
    @ApiModelProperty(value = "webhook（秘钥） 或邮箱地址", position = 4)
    private String configKey;

    /**
     * webhookurl
     */
    @ApiModelProperty(value = "webhookurl", position = 5)
    private String webhookUrl;

    /**
     * 是否启用该配置（1=启用，2=停用）
     */
    @ApiModelProperty(value = "是否启用该配置（1=启用，2=停用）", position = 6)
    private Integer isActive;

    /**
     * 1.系统联系配置   2.任务推送配置
     */
    @ApiModelProperty(value = "1.系统联系配置   2.任务推送配置", position = 7)
    private Integer status;
}
